JavaScript

{dialog.object}getData Method

Syntax

{dialog.Object}.getData()

Returns

datastring

Returns the value of every control in the component as a query string.

Description

Gets the value of all of the controls in the UX Component in the form of a query string (name/value pairs).

Discussion

The {dialog.object}.getData() method generates a URI encoded query string of "name=value" pairs for every control and variable defined in the UX Component. Multiple variable name-value pairs are joined using the ampersand (&). For example:

"V.R1.VIEWBOX1=&old.V.R1.VIEWBOX1=&V.R1.FIRSTNAME=John&old.V.R1.FIRSTNAME=&V.R1.LASTNAME=Smith&old.V.R1.LASTNAME=&[email protected]&old.V.R1.EMAIL=&V.R1.PHONE=1-233-495-4817&old.V.R1.PHONE=&V.R1.VIEWBOX2=&old.V.R1.VIEWBOX2=&dirtyColumns.R1=FIRSTNAME%0D%0ALASTNAME%0D%0AEMAIL%0D%0APHONE&__loggedInUserNameFriendly=&__isLoggedIn=false"

See Also